
<div class="row RowSpace" style="">
  <div class="LableDiv" style="width:50px;"><Btn class="BtnAdd" value="新增" ng-click="btnAdd()"></Btn></div>
  <div class="LableDiv" style="width:60px;"><Btn class="BtnDelete" value="删除" ng-click="btnDelete()"></Btn></div>
</div>

<div class="row RowSpace LastRow" style="margin-top:20px;">
  <DataGrid module="Module.Role" rowdblclick="rowDblClick()" isselect="true" isedit="false">
      <Column Type="TextBox" DisplayName="编码" width="150px" ValueField="Code"></Column>
      <Column Type="TextBox" DisplayName="名称" width="150px" ValueField="Name"></Column>
      <Column Type="CheckBox" DisplayName="生效" width="65px" ValueField="IsEffective"></Column>
      <Column Type="TextBox" DisplayName="备注" width="200px" ValueField="Remark"></Column>
  </DataGrid>
</div>

<div class="row RowSpace">
  <div class="LableDiv" style="width:80px;">
    <ModalBox Text="批量分配" WindowTitle='批量分配角色' okclick="btnBatchOK()" beforeshow="onBeforeShow()" Enabled="{{Module.Role.SelectedRecords.length > 0}}">
      <DataGrid module="Module.User" IsEdit="false" IsAutoLoad="false" IsSelect="true" height="427px">
        <Column Type="TextBox" displayname="编码" width="100px" valuefield="Code"></Column>
        <Column Type="TextBox" displayname="名称" width="100px" valuefield="Name"></Column>
        <Column Type="TextBox" DisplayName="部门" width="200px" ValueField="Department.Name"></Column>
      </DataGrid>
    </ModalBox>
  </div>
</div>
